<div class="users get_pending_approved_flownodes">
<h2><?php echo __("Users");?></h2>
<table cellpadding="0" cellspacing="0">
	<tr>
			<th><?php echo __('id');?></th>
			<th><?php echo __('user_id');?></th>
			<th><?php echo __('application_id');?></th>
			<th><?php echo __('loc_index');?></th>
			<th><?php echo __('loc_identiy');?></th>
			<th><?php echo __('status');?></th>
			<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
	foreach ($flownodesByApprover as $flownode): ?>
	<tr>
		<td><?php echo h($flownode['Flownode']['id']); ?>&nbsp;</td>
		<td>
			<?php echo $this->Html->link($flownode['User']['username'], array('controller' => 'users', 'action' => 'view', $flownode['User']['id'])); ?>
		</td>
		<td><?php echo h($flownode['Flownode']['application_id']); ?>&nbsp;</td>
		<td><?php echo h($flownode['Flownode']['loc_index']); ?>&nbsp;</td>
		<td><?php echo h($flownode['Flownode']['loc_identity']); ?>&nbsp;</td>
		<td><?php echo h($flownode['Flownode']['status']); ?>&nbsp;</td>
		<td class="actions">
			<?php echo $this->Html->link(__('View'), array('action' => 'view', $flownode['Flownode']['id'])); ?>
			<?php echo $this->Html->link(__('Edit'), array('action' => 'edit', $flownode['Flownode']['id'])); ?>
			<?php echo $this->Form->postLink(__('Approve'), array('action' => 'approveFlownode', $flownode['Flownode']['id']), null, __('Do you really want to approve # %s?', $flownode['Flownode']['id'])); ?>
			<?php echo $this->Form->postLink(__('Delete'), array('action' => 'delete', $flownode['Flownode']['id']), null/*, __('Are you sure you want to delete # %s?', $flownode['Flownode']['id'])*/); ?>
		</td>
	</tr>
<?php endforeach; ?>
	</table>
</div>